package com.ark.cloud.javacallnative.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 通信事件
 */
@Data
@TableName("communication_event")
public class CommunicationEvent {
//    @TableId(type = IdType.AUTO, value = "id")
    private Long id;
    @TableField("timestamp")
    private String timestamp;       //	时间                           TimeStamp	1
    @TableField("sender_id")
    private String senderId;      // 	数据发出方                  	EntityID	1
    @TableField("receiver_id")
    private String receiverId;       //   数据接收方 如果为空，则广播消息	  EntityID    1
    @TableField("com_flag")
    private boolean comFlag;
    @TableField("type")
    private Integer type;
}
